package org.example.springboot.mapper;
import org.apache.ibatis.annotations.MapKey;
import org.example.springboot.entity.BD;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface ShowMapper {

    List<BD> list();

    @MapKey("someKey")
    List<Map<String, Object>> bookSortNumber();

    @MapKey("someKey")
    List<Map<String, Object>> selectCategoryPercentage();

    @MapKey("someKey")
    List<Map<String, Object>> selectCategoryPopularityRanking();

    @MapKey("someKey")
    List<Map<String, Object>> selectCategoryPopularityRelation();

    @MapKey("someKey")
    List<Map<String, Object>> selectWordCountTop12();

    @MapKey("someKey")
    List<Map<String, Object>> selectPopularityTop12();
}



